//
//  Connector.h
//  SevenZhou
//
//  Created by qianfeng on 15/9/14.
//  Copyright (c) 2015年 ljf. All rights reserved.
//

#ifndef SevenZhou_Connector_h
#define SevenZhou_Connector_h

//#首页玩转七洲接口#
#define URL_HomeSevenZhou @"http://www.7zhou.com/mobile_app_port/?url=home/item"
#define URL_HomeSevenZhou_parameter @"json=%7B%22pagination%22%3A%7B%22count%22%3A20%2C%22page%22%3A1%7D%7D"

//#首页玩转七洲景点接口#
//服务介绍
#define URL_detail @"http://www.7zhou.com/mobile_app_port/?url=goods/detail_explain"
//服务详情
#define URL_introduce @"http://www.7zhou.com/mobile_app_port/?url=goods/service_introduce"
//先睹为快
#define URL_take_a_look @"http://www.7zhou.com/mobile_app_port/?url=goods/take_a_look"
//相关服务
#define URL_service_relevant @"http://www.7zhou.com/mobile_app_port/?url=goods/service_relevant"
//#详情 介绍 先睹为快 相关服务共同参数#
#define URL_detail_parameter @"json={\"goods_id\":\"%@\"}"  //%@ 景点id;

//#分享接口#
#define URL_share @"http://www.7zhou.com/mobile_app_port/?url=share"
#define URL_share_parameter @"json={\"share\":{\"type\":\"goods\",\"tag\":\"%@\"}}"

//#评论接口#  page=%d id=%@
#define URL_comments @"http://www.7zhou.com/mobile_app_port/?url=comments"
#define URL_comments_parameter @"json={\"pagination\":{\"count\":10,\"page\":%d},\"goods_id\":\"%@\"}"

//#首页滚动视图接口#

#define URL_HomeScorll @"http://www.7zhou.com/mobile_app_port/?url=home/data"
#define URL_HomeScorll_parameter @"json=%7B%7D"

//#热门搜索推荐接口#

#define URL_HotSearch @"http://www.7zhou.com/mobile_app_port/?url=hot_recommend"

//#七大洲景点数据接口#

#define URL_SevenZhouData @"http://www.7zhou.com/mobile_app_port/?url=dest"

//#景点分类接口#

#define URL_Category @"http://www.7zhou.com/mobile_app_port/?url=category"
#define URL_Category_parameter @"json=%7B%7D"

//#活动专区接口#

#define URL_activity @"http://www.7zhou.com/mobile_app_port/?url=activity_area"

#define URL_activity_parameter1 @"json=%7B%22post_data%22%3A%7B%22type%22%3A%22seven_gift%22%7D%7D"
#define URL_activity_parameter2 @"json=%7B%22post_data%22%3A%7B%22type%22%3A%22interaction%22%7D%7D"
#define URL_activity_parameter3 @"json=%7B%22post_data%22%3A%7B%22type%22%3A%22city_party%22%7D%7D"

//#搜索接口#

#define URL_Search @"http://www.7zhou.com/mobile_app_port/?url=search"
#define URL_Search_parameter @"json={\"pagination\":{\"count\":10,\"page\":%d},\"filter\":{\"brand_id\":\"%@\",\"category_id\":\"%@\",\"keywords\":\"%@\",\"category_name\":\"%@\",\"dest_id\":\"%@\",\"sort_by\":\"%@\"}}"
#define URL_Search_parameter1 @"json={\"pagination\":{\"count\":10,\"page\":%d},\"filter\":{\"brand_id\":\"%@\",\"category_id\":\"%@\",\"category_name\":\"%@\",\"dest_id\":\"%@\",\"sort_by\":\"%@\"}}"


//我的接口

//注册

#define URL_REGISTER @"http://www.7zhou.com/mobile_app_port/?url=user/signup"
#define URL_REGISTER_parmater @"email=%@%%40qq.com&name=%@&password=%@&type=normal"

//登陆

#define URL_LOGIN @"http://www.7zhou.com/mobile_app_port/?url=user/signin"
#define URL_LOGIN_parmater @"name=%@&password=%@&type=normal"

#endif
